import request from '@/utils/request'
//专家评审任务接口
export function expertsTaskQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/expertsTask/query',
    params: data,
  })
}

export function expertsTaskQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/expertsTask/query/' + id,
  })
}

export function expertsTaskAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/expertsTask/add',
    data,
  })
}

export function expertsTaskDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/expertsTask/delete/' + id,
  })
}

export function expertsTaskUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/expertsTask/update',
    data,
  })
}

export function expertsTaskVerify(data) {
  //验证是否已推送专家
  return request({
    method: 'post',
    url: '/expertsTask/verify',
    data,
  })
}

export function expertsTaskQueryResultList(data) {
  //专家评审结果查询
  return request({
    method: 'get',
    url: '/expertsTask/queryResultList',
    params: data,
  })
}
